package hu.arguscab.ai;

/**
 * Represents a class whose task is to determine <i>terminate conditions</i>.
 * @param <E> The data type that <code>Edge</code> contain. 
 * @param <N> The data type that <code>Node</code> contain. 
 * @author sharp
 */
public abstract class Terminator<E, N> {
	private int maxDepth;

	public abstract boolean isTerminate(Node<N> node);

	public int getMaxDepth() {
		return maxDepth;
	}

	public void setMaxDepth(int depth) {
		this.maxDepth = depth;
	}
}
